#pragma once
#include "drawable.h"
#include "Bat.h"

class CBonus :
	public CDrawable
{
protected:
	float m_fSpeed;
	CBat* m_pBatDest;	//destination bat
	int m_iSignZ;		//sign of bonus moving direction in Z axis 
	int m_iValue;
	float m_fSize;
	BONUSTYPE m_btBonusType;
public:
	CBonus();
	virtual ~CBonus(void);

	int Draw();
	int Update();

	int SetPosition(double dX, double dY, double dZ);

	int GetValue() { return m_iValue; }

	int GetType() { return TYPE_BONUS; }

	void SetBatDest(CBat* pBat);

	BONUSTYPE GetBonusType() { return m_btBonusType; }
};
